package cn.com.connext.scrm.service.mapper;

import cn.com.connext.scrm.service.dto.JsonResult;
import cn.com.connext.scrm.web.rest.req.*;
import cn.com.connext.scrm.web.rest.resp.QueryActivitiesResp;
import cn.com.connext.scrm.web.rest.resp.QueryAnswerDetailResp;
import cn.com.connext.scrm.web.rest.resp.QueryNowAndPostActivitiesResp;
import cn.com.connext.scrm.web.rest.resp.QueryPostActivityByActidResp;
import cn.com.connext.scrm.web.rest.vm.QueryIdVM;
import org.springframework.data.domain.Page;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface ActivitiesService {
    ResponseEntity<Boolean> create(ActivityCreateReq req);

    ResponseEntity<Boolean> update(ActivityUpdateReq req);

    ResponseEntity audit(ActivityAuditReq req);

    ResponseEntity<Page<QueryActivitiesResp>> queryActivities(ActivityQueryReq req);

    ResponseEntity<QueryActivitiesResp> detail(ActivityDetailReq req);

    ResponseEntity<QueryNowAndPostActivitiesResp> queryAnswerNowActivities();

    ResponseEntity<List<QueryNowAndPostActivitiesResp>> queryAnswerPostActivities();

    JsonResult answerenable(QueryIdVM req);

    ResponseEntity<Page> queryAnswerNowNotes(PageBaseReq req);

    ResponseEntity<Page> queryAnswerPostNotes(QueryAnswerPostNotesReq req);

    ResponseEntity<QueryNowAndPostActivitiesResp> queryAnswerPostActivitiesDetail(String id);
}
